package game.ui.controls
{
	import engine.asset.*;
	import engine.core.*;
	import engine.sound.*;
	import flash.display.*;
	import flash.events.*;
	import flash.geom.*;
	import flash.text.*;
	import game.actor.*;
	import game.network.*;
	import game.scene.*;
	import game.ui.core.*;
	//import game.ui.utils.*;
	
	public class RxEquipmentSlot// extends RxUIElement implements RxIDataRenderer
	{
		private var m_data:RxItemRecord;
		private var m_dataIndex:int;
		private var m_highlighted:Boolean;
		private var m_isInventorySlot:Boolean;
		private var m_isConsumable:Boolean;
		private var m_isCurrentDragTarget:Boolean;
		private var m_equipCallback:Function;
		private var m_sellCallback:Function;
		private var m_updateCallback:RxCallback;
		private var m_sellButton:RxRectangularButton;
		private var m_equipButton:RxRectangularButton;
		private var m_altEquipButton:RxRectangularButton;
		private var m_iconContainer:Sprite;
		private var m_icon:RxBitmap;
		private var m_background:RxScalableBitmap;
		private var m_statIcon:RxBitmap;
		private var m_quantityLabel:RxTextLabel;
		private var m_slotLabel:RxTextLabel;
		private var m_newLabel:RxTextLabel;
		private var m_newBitmap:RxBitmap;
		private var m_isEquipFocus:Boolean = false;
		
		public function RxEquipmentSlot(param1:Boolean = true)
		{
			/*isible = true;
			this.m_highlighted = false;
			this.m_isInventorySlot = param1;
			this.m_isCurrentDragTarget = false;
			if (this.m_isInventorySlot)
			{
				m_width = 82;
				m_height = 132;
			}
			else
			{
				m_width = 52;
				m_height = 52;
			}
			this.CreateChildren();
			addEventListener(MouseEvent.ROLL_OVER, this.OnRollOver, false, 0, true);
			addEventListener(MouseEvent.ROLL_OUT, this.OnRollOut, false, 0, true);
			this.InvalidateSize();*/
		}
	}
}